<template>
    <div id="users"></div>
</template>
<script>
    export default {
        data() {
            return {
                users: [],
                page: {next_page: 1}
            }
        },
        create() {
            this.$http("users", {params: {page: this.next_page}}).then(res => {
                let result = JSON.parse(res.data)
                this.users = result.users
                this.page = result.page
            })
        }
    }
</script>
